Module for EDI 9.12 | Building Services with EDI Module | Part I WmEDI Package | WmEDI Util Folder
 
WmEDI Util Folder
 
Summary of Elements in this Folder
Use the services in the wm.b2b.edi.util folder to help process document objects.
Use the services in the wm.b2b.edi.util.formatServices folder to ensure that the fields of an EDI document conform to the ANSI X12 or UN/EDIFACT standard formats for various data types.
*The wm.b2b.edi:convertToValues service invokes format services when parsing a String to an IData object.
*The wm.b2b.edi:convertToString service invokes format services when creating a String from an IData object.
The format services transform field values from an “internal” format to an “external” format, or vice versa. The external format is the format that will appear in the actual EDI document. The internal format is the format that the field meets in the parsed form (after calls to the convertToValues service or before calls to the convertToString service). The internal and external formats are stored in an external configuration file. For more information about this file, see the Module for EDI configuration chapter in webMethods Module for EDI Installation and User’s Guide. The external formats provided match the EDI ANSI standard formats and should not be changed. The internal formats should be modified to conform to your internal application formats.
Important:
If a particular field does not have a value (that is, a value is not in the input String or IData object), the format service assigned to that field will not be executed.